package U2;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
 public class StudentFileReader extends StudentAbstractReader {
    private File file;

    public File getFile() {
        return file;
    }
    public void setFile(File file){
        this.file=file;
    }
    public StudentFileReader(File file) {
        this.setFile(file);
    }
     public InputStream getInputStream() throws FileNotFoundException {
         return new FileInputStream(this.getFile());
     }
}
